﻿@{
    ViewBag.Title = "Login";
    Layout = "";
}




<!DOCTYPE html>

<html>
<!--<![endif]-->
<head>
    <!-- META TAGS -->
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>会员注册</title>

    <link rel="shortcut icon" href="~/会员注册_files/favicon.png" />

    <!-- Style Sheet-->
    <link rel="stylesheet" href="style.css" />
    <link rel='stylesheet' id='bootstrap-css-css' href='~/会员注册_files/bootstrap5152.css?ver=1.0' type='text/css' media='all' />
    <link rel='stylesheet' id='responsive-css-css' href='~/会员注册_files/responsive5152.css?ver=1.0' type='text/css' media='all' />
    <link rel='stylesheet' id='pretty-photo-css-css' href='~/会员注册_files/prettyPhotoaeb9.css?ver=3.1.4' type='text/css' media='all' />
    <link rel='stylesheet' id='main-css-css' href='~/会员注册_files/main5152.css?ver=1.0' type='text/css' media='all' />
    <link rel='stylesheet' id='custom-css-css' href='~/会员注册_files/custom5152.html?ver=1.0' type='text/css' media='all' />
    <link href="~/会员注册_files/bootstrap.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.8.2.min.js"></script>

    <script>
        function Login() {
            $.ajax({
                type:"get",
                url: "/Home/getLogin",
                data: {
                    "Login_Name": $("#Login_Name").val(),
                    "Login_Pwd": $("#Login_Pwd").val()

                },
                success: function (data) {
                    if (data !=null) {
                        location.href = "/Home/index";
                    }
                    else {
                        alert("用户名或密码不正确")
                    }
                }
            })
        }

    </script>
</head>
<body>
    <!-- Start of Header -->
    <div class="header-wrapper">
        <header>
            <div class="container">
                <div class="logo-container">
                    <!-- Website Logo -->

                    <span class="tag-line" style="font-size:25px">会员登陆</span>
                </div>
                <!-- Start of Main Navigation -->
                <nav class="main-nav">
                  
                </nav>
                <!-- End of Main Navigation -->
            </div>
        </header>
    </div>
    <!-- End of Header -->
    <div class="container">
        <form action="/Web/Registered" method="post" class="form form-horizontal responsive" id="demoform-1" style="margin-top:30px">
            <div class="row cl">
                <label class="form-label col-2"><span style="font-size:18px">会员名称:</span></label>
                <div class="formControls col-10">
                    <input type="text" class="input-text" autocomplete="off" placeholder="请输入会员名称" id="Login_Name" data-form-un="1447842357469.7874" style="width:400px;height:35px" name="Uname">
                </div>
            </div>
            <div class="row cl" style="margin-top:30px">
                <label class="form-label col-2"><span style="font-size:18px">会员密码:</span></label>
                <div class="formControls col-10">
                    <input type="password" class="input-text" autocomplete="off" placeholder="请输入会员密码" id="Login_Pwd" data-form-un="1447842357469.7874" style="width:400px;height:35px" name="Upwd">
                </div>
            </div>
            <div class="row cl" style="margin-top:30px">
                <div class="col-10 col-offset-2">
                    <input id="Hidden1" type="hidden" name="Urole" value="1" />
                    <input class="btn btn-group-justified radius" type="button" value="登陆" onclick="Login()" data-form-sbm="1447842357469.7874">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input class="btn btn-group-justified radius" type="button" value="取消" data-form-sbm="1447842357469.7874" onclick="location.href = '/Home/Index'">
                </div>
            </div>
        </form>
    </div>

    <!-- script -->
    <script type='text/javascript' src='~/会员注册_files/jquery-1.8.3.min.js'></script>
    <script type='text/javascript' src='~/会员注册_files/jquery.easing.1.3.js'></script>
    <script type='text/javascript' src='~/会员注册_files/prettyphoto/jquery.prettyPhoto.js'></script>
    <script type='text/javascript' src='~/会员注册_files/jflickrfeed.js'></script>
    <script type='text/javascript' src='~/会员注册_files/jquery.liveSearch.js'></script>
    <script type='text/javascript' src='~/会员注册_files/jquery.form.js'></script>
    <script type='text/javascript' src='~/会员注册_files/jquery.validate.min.js'></script>
    <script type='text/javascript' src='~/会员注册_files/custom.js'></script>
</body>
</html>

